package com.lanxin.generator.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import java.io.Serializable;

/**
 * @Author: 董伟豪
 * @Date: 2023/1/19 11:04
 */
@ConfigurationProperties("lanxin.doc")
public class DocAutoProperties implements Serializable {

    private String publicKey;

    private String pathController = "com.lanxin.generator.controller";

    private String generatePosition = System.getProperty("user.dir");

    private String fileName = "api.html";

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getPathController() {
        return pathController;
    }

    public void setPathController(String pathController) {
        this.pathController = pathController;
    }

    public String getGeneratePosition() {
        return generatePosition;
    }

    public void setGeneratePosition(String generatePosition) {
        this.generatePosition = generatePosition;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public DocAutoProperties() {
    }

    public DocAutoProperties(String publicKey, String pathController, String generatePosition, String fileName) {
        this.publicKey = publicKey;
        this.pathController = pathController;
        this.generatePosition = generatePosition;
        this.fileName = fileName;
    }
}
